package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author niejianhang
 * @create 2020-02-19 15:10
 */
public interface AdminService {

    Admin selById(Integer id);


    Admin login(String loginacct,String userpswd);

    PageInfo<Admin> queryForKeywordsearch(Integer pageNum, Integer pageSize, String keyword);

    public void batchRemove(List<Integer> adminIdList);

    void saveAdmin(Admin admin);

    public Admin getAdminById(Integer adminId);

    void updateAdmin(Admin admin);
}
